package com.pkk.cloud.support.oauth2.client.feign;

import com.pkk.cloud.support.oauth2.client.feign.configuration.Oauth2ClientFeignConfiguration;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.springframework.context.annotation.Import;

/**
 * @Description: 启用feign调用身份认证
 * @Author: peikunkun
 * @Date: 2020/3/21 0021 下午 2:09
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Import(Oauth2ClientFeignConfiguration.class)
public @interface EnableOAuth2ClientFeign {
}
